.TH std::scoped_allocator_adaptor::outer_allocator 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::scoped_allocator_adaptor::outer_allocator \- std::scoped_allocator_adaptor::outer_allocator

.SH Synopsis
   Defined in header <scoped_allocator>
   outer_allocator_type& outer_allocator() noexcept;             \fB(1)\fP \fI(since C++11)\fP
   const outer_allocator_type& outer_allocator() const noexcept; \fB(2)\fP \fI(since C++11)\fP

   Obtains a reference to the outer allocator used to declare this class.

   1) Returns static_cast<OuterAlloc&>(*this).
   2) Returns static_cast<const OuterAlloc&>(*this).

.SH Parameters

   \fI(none)\fP

.SH Return value

   A reference to OuterAlloc.

.SH See also

   inner_allocator obtains an inner_allocator reference
                   \fI(public member function)\fP
